﻿using System;
using System.Windows.Forms;
using Microsoft.Win32;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Configuration;
using Slippor.Douban.Radio.Assist;

namespace Slippor.Douban.Radio
{
    public partial class Main
    {
        #region 托盘
        protected override void HideToNotify()
        {
            _taskBarBuilt = false;
            this.ShowInTaskbar = false;
            base.HideToNotify(); 
        }

        protected override void ShowFromNotify()
        {
            this.ShowInTaskbar = true;
            ConfirmTaskBar();
            base.ShowFromNotify(); 
        }
        #endregion
    }
}
